package com.exchange.service;

import com.exchange.utils.result.CommonResult;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.repository.kdr.KettleDatabaseRepository;

public interface JobService {

    /**
     * 执行作业
     * @param repository
     * @param jobName
     * @return
     */
    CommonResult execRepositoryJobs(KettleDatabaseRepository repository, String jobName) throws KettleException;
}
